﻿// <copyright file="ITransactionResult.cs" company="DatamineConsulting">
//      Copyright (c) DatamineConsulting.  All rights reserved.
// </copyright>
// <author>Sites, Ryan</author>
namespace Kanz4Kidz.DataTransfer.Interface
{
    using System.Collections.Generic;


    /// <summary>
    /// An interface that describes a transaction result object.
    /// </summary>
    public interface ITransactionResult
    {
        /// <summary>
        /// Gets or sets a value indicating whether [transaction was successful].
        /// </summary>
        /// <value>
        /// 	<c>true</c> if [transaction was successful]; otherwise, <c>false</c>.
        /// </value>
        bool TransactionWasSuccessful { get; set; }

        /// <summary>
        /// Gets or sets the error messages.
        /// </summary>
        /// <value>
        /// The error messages.
        /// </value>
        IList<string> ErrorMessages { get; set; }
    }
}
